<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" Content="text/html; charset=utf-8"/>

	<link rel="stylesheet" type="text/css" href="../css/header.css">
	<link rel="stylesheet" type="text/css" href="../css/footer.css">
	<link rel="stylesheet" type="text/css" href="../css/login.css">
	<link rel="stylesheet" href="../res/bootstrap/css/bootstrap.min.css">
	<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.min.js"></script>
	<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.4/jquery-ui.js"></script>
<script> 
    $(function(){
      $(".header").load("header.html");$(".footer").load("footer.html"); 
    });
    
    var myModule = angular.module('myModule', []);
    
    myModule.controller('MyController', function ($scope, $http,$location) {


		if($location.search().error!=null){
    		$('div.login').append('<div class="alert alert-error">로그인에 실패했습니다 아이디나 비밀번호를 확인해주세요.</div>');
    	}
      
    });
</script> 

</head>
<body ng-app="myModule">
<div class="container" ng-controller="MyController">
<!-- header-->
<div class="header span12">
</div>
<!--login-->
	<div class="login">
		<h1>로그인</h1>
		<hr />
		<form  id="로그인" method="post" action="login_process.do">
			<div>아이디</div>
			<input id="iden" name="j_username" type="text" />
			<div>비밀번호</div>
			<input id="password" name="j_password" type="password" />
			<div>
			<button name="cmd" value="로그인" id="login" class="btn btn-primary"><i class="icon-ok icon-white"></i> 로그인</button>

			<a class="btn"><i class="icon-search"></i> 비밀번호 찾기</a> 
			<a class="btn"><i class="icon-user"></i> 회원가입</a>
			</div>
		</form>
	</div>
<!--//login-->


<!--footer-->
	
	<div class="footer span12">
	</div>
<!--//footer-->
</div>

<script type="text/ecmascript">
	function 팀원검색(btn) {
    	$("#우편번호대화상자").modal('show');
	}
</script>
</body>
</html>